﻿@model VehicleManagement.Models.Apply
@{
    ViewBag.Title = "Details";
}
<h2>
</h2>
<link rel="stylesheet" href="@Url.Content("~/Content/css/page_zlb_c_e_d.css")" type="text/css"/>
@Html.Partial("_PartviewApplyNav")
<div class="content bc">
    <div class="content_link_warn f12">
        你当前的位置：司机管理&gt&gt &nbsp;&nbsp;司机查询&gt&gt &nbsp;&nbsp;所有司机列表
    </div>
    <div class="content_right fr" id="rightcontent">
        <fieldset>
            @*<legend></legend>*@
            <div class="OutTitle">
                <span>查看申请信息</span></div>
            <div class="Box">
                <div class="SubBox12 mt5 ml15 mr15 mb5">
                <div style="color:Red">@ViewBag.StateErrorMessage</div>
                    <div class="SubTitle-middle">
                        申请基本信息</div>
                    <div class="SubBox-container">
                        <div class="text-wrap">
                            <div class="text-l">
                                <div class="withValidate">
                                    <span >@Html.LabelFor(model => model.CarType):</span>
                                    <span class="length length150">@Html.DisplayFor(model => model.CarType)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.ApplicantName):</span>
                                    <span class="length length150">@Html.DisplayFor(model => model.ApplicantName)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.ApplyState):</span>
                                    @*<span class="length length150">@Html.DisplayFor(model => model.ApplyState)</span>*@
                                    @if (!Model.ApplyState)
                                    {
                                        <span class="length length150">还未批准</span>
                                    }
                                    else if (Model.ApplyState)
                                    { 
                                        <span class="length length150">已经批准</span>
                                    }
                                    <div class="special-validate">
                                    </div>
                                </div>
                                
                                <div class="clear"></div>
                            </div>
                            <div class="text-l mt15">
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.Beginning):</span>
                                    <span class="length length150">@Html.DisplayFor(model => model.Beginning)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span class="spanType1">@Html.LabelFor(model => model.Destination):</span>
                                    <span class="length length150">@Html.DisplayFor(model => model.Destination)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.ApplyTime):</span>
                                    <span class="length length150">@String.Format("{0:g}", Model.ApplyTime)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="clear"></div>
                            </div>

                            <div class="text-l mt15">
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.CarUse):</span>
                                    <span class="length length150">@Html.DisplayFor(model => model.CarUse)</span>
                                    <div class="validate">
                                    </div>
                                </div> 
                                <div class="clear"></div>                              
                            </div>
                            <div class="text-l mt15">
                                    <span class="spanType1">@Html.LabelFor(model => model.Remark):</span>
                                    @Html.DisplayFor(model => model.Remark)
                                </div>
                            </div>
                            <div class="pt20"></div>
                        </div>
                    </div>
            </div>
            <div class="button-wrap ">
                <div class="a-back backEdit">
                    <div class="divINbackEdit">@Html.ActionLink("编辑修改", "Edit", new { id = Model.ApplyID })</div>
                </div>
                <div class="a-back mr15">
                    <div class="divINa-back">@Html.ActionLink("返回", "MyApplys")</div>
                </div>
            </div>
        </fieldset>
       
    </div>
    @Html.Partial("_PartviewApplyLeftbar")
    <div class="content_contract fl">
        <a href="javascript:void(0)" class="btn_contract w8h32" id="contract" title="收缩">
        </a><a href="javascript:void(0)" class="btn_expand w8h32" id="expand" title="展开">
        </a>
    </div>
    <div class="cb">
    </div>
</div>
